package Aptech.DALInterface;

import java.util.List;

import HibernateMappingPoJo.Builts;
import HibernateMappingPoJo.PaymentMode;
import HibernateMappingPoJo.PurchaseContract;

public interface ContractInterface {
	List getAllContract();

	void addContract(PurchaseContract builts);

	void deleteContract(String id);

	void editContract(PurchaseContract builts);

	PurchaseContract getContractByID(String id);
	
	List getAllPaymentMode();
	
	PaymentMode getPaymentModeByID(String id);
	
	List searchForName(String key);
}
